package cn.tedu.store.commons.pojo.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CategoryAttributeTemplateAddNewDTO implements Serializable {

    @ApiModelProperty(name = "categoryId", value = "分类id", required = true,example = "2")
    @NotNull(message = "必须提供分类id")
    private Long categoryId;

    @ApiModelProperty(name = "attributeTemplateId", value = "属性模板id", required = true, example = "1")
    @NotNull(message = "必须提供属性模板id")
    private Long attributeTemplateId;
}
